/**
* 数据配置
* @author Troj.an
*
*/
class DataConfig 
{
    /** 德州扑克 */
    public static KIND_ID_DZPK: number = 620;
    /** 牛牛标准 */
    public static KIND_ID_NN: number = 5;
    /** 百人牛牛 */
    public static KIND_ID_NN100: number = 104;
    /** 诈金花 */
    public static KIND_ID_ZJH: number = 205;
    /** 十三水 */
    public static KIND_ID_SSS: number = 3;
    /** 三人斗地主 */
    public static KIND_ID_DDZ3P: number = 203;
    /** 二八杠 */
    public static KIND_ID_EBG: number = 720;
    /** 麻将 */
    public static KIND_ID_MJ: number = 6;
    /** 通比牛牛 */
    public static KIND_ID_NNTB: number = 13;
    /** 水浒传 */
    public static KIND_ID_SHZ: number = 22;


    /**
     * 游戏资源组配置
     * 统一配置 多处使用
     * 游戏单独下载也依赖此配置
     * Troj.an 2018.02
     */
    public static ResConfig = new Array();

    /**
     * 第一次进入大厅场景时，调用此函数；
     */
    public static SetResConfig(): void
    {
        if(DataConfig.ResConfig.length == 0)
        {
            DataConfig.ResConfig[DataConfig.KIND_ID_DZPK] = ["dzpk_gameScene", "dzpk_font", "dzpk_sounds", "dzpk_roomHall", "dzpk_gameEffect"];
            DataConfig.ResConfig[DataConfig.KIND_ID_NN] =   ["niuniu_sound", "niuniu_scene", "niuniu_effect"];
            DataConfig.ResConfig[DataConfig.KIND_ID_NNTB] = ["niuniu_sound", "niuniu_scene", "niuniu_effect"];
            DataConfig.ResConfig[DataConfig.KIND_ID_NN100] = ["p100niuniu", "niuniu_sound"];
            DataConfig.ResConfig[DataConfig.KIND_ID_ZJH] = ["zjh_game", "zjh_effect", "zjh_avatar", "minicard", "chouma", "zjh_sounds"];
            DataConfig.ResConfig[DataConfig.KIND_ID_SSS] = ["ss_game"];
            DataConfig.ResConfig[DataConfig.KIND_ID_DDZ3P] = ["ddz", "ddz_effect", "ddz_sound"];
            DataConfig.ResConfig[DataConfig.KIND_ID_EBG] = ["teb_gameScene"];
            DataConfig.ResConfig[DataConfig.KIND_ID_MJ] = ["mj_gameScene", "mj_sounds"];
            DataConfig.ResConfig[DataConfig.KIND_ID_SHZ] = ["shz_scene"];
        }
    }
}
